import { createApp } from "vue";
import "/src/style.css";
import App from "./App.vue";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
import Chart from "chart.js/auto"; // 确保你引入了 chart.js
import ChartDataLabels from "chartjs-plugin-datalabels"; // 引入 datalabels 插件

Chart.register(ChartDataLabels);

// 将自动注册所有组件为全局组件
import dataV from "@jiaminghi/data-view";
createApp(App).use(dataV).use(ElementPlus).mount("#app");
